Serialize data into struct model where two of those fields' data are calculated based upon other fie